import config from "@/config"
import http from "@/utils/request"
import store from "@/store";
import constant from "@/constant";

export default {
	dataQuery: {
		execute: {
			url: `${config.API_URL}/console/data-query/executeSql`,
			name: "sql查询",
			post: async function(data){
				return await http.post(this.url, data, {});
			}
		},
	},
	jasper: {
		assetTags: {
			url: `${config.API_URL}/console/jasper/asset-tags`,
			name: "资产标签",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					},
					responseType:'arraybuffer',
				});
			}
		},
		documentPrint: {
			url: `${config.API_URL}/console/jasper/document-print`,
			name: "资产标签",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					},
					responseType:'arraybuffer',
				});
			}
		},
	},
	globalParam: {
		load: {
			url: `${config.API_URL}/console/global-param/load`,
			name: "读取全局参数",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		manage: {
			url: `${config.API_URL}/console/global-param/manage`,
			name: "管理全局参数",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
	},
	relMap: {
		load: {
			url: `${config.API_URL}/console/rel-map/load`,
			name: "查询映射信息",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		manage: {
			url: `${config.API_URL}/console/rel-map/manage`,
			name: "查询映射信息",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
	},
	exportCenter: {
		my: {
			url: `${config.API_URL}/console/export-center/myPageData`,
			name: "导出中心",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},

	},
	//资源管理
	menu: {
		list: {
			url: `${config.API_URL}/console/resource/pageData`,
			name: "获取菜单",
			storeName:"SysResource",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		treeData: {
			url: `${config.API_URL}/console/resource/treeData`,
			name: "获取菜单",
			storeName: constant.entity.SysResource.name,
			post: async function(params){
				return await http.post(this.url, params);
			}
		},
		add: {
			url: `${config.API_URL}/console/resource/add`,
			name: "新增菜单",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		edit: {
			url: `${config.API_URL}/console/resource/upt`,
			name: "修改菜单",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		del: {
			url: `${config.API_URL}/console/resource/del`,
			name: "删除菜单",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		deleteByIds: {
			url: `${config.API_URL}/console/resource/deleteByIds`,
			name: "批量删除菜单",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		disabled: {
			url: `${config.API_URL}/console/resource/disabled`,
			name: "停用菜单",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		enabled: {
			url: `${config.API_URL}/console/resource/enabled`,
			name: "启用菜单",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		findById: {
			url: `${config.API_URL}/console/resource/findById`,
			name: "根据主键查询",
			storeName: constant.entity.SysResource.name,
			post: async function(data){
				return await http.post(this.url+'/'+data.id, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		export: {
			url: `${config.API_URL}/console/resource/export`,
			name: "导出数据",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		dataDictionaries: {
			url: `${config.API_URL}/console/resource/dataDictionaries`,
			name: "获取所有数据字典",
			post: async function(params){
				return await http.post(this.url, params);
			}
		},
	},
	//字典管理
	dic: {
		list: {
			url: `${config.API_URL}/console/dictionary/pageData`,
			name: "字典查询",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		add: {
			url: `${config.API_URL}/console/dictionary/add`,
			name: "新增数据字典",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		edit: {
			url: `${config.API_URL}/console/dictionary/upt`,
			name: "修改数据字典",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		del: {
			url: `${config.API_URL}/console/dictionary/del`,
			name: "删除数据字典",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		deleteByIds: {
			url: `${config.API_URL}/console/dictionary/deleteByIds`,
			name: "批量删除数据字典",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		disabled: {
			url: `${config.API_URL}/console/dictionary/disabled`,
			name: "停用数据字典",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		enabled: {
			url: `${config.API_URL}/console/dictionary/enabled`,
			name: "启用数据字典",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		findById: {
			url: `${config.API_URL}/console/dictionary/findById`,
			name: "根据主键查询",
			storeName: constant.entity.SysDictionary.name,
			post: async function(data){
				return await http.post(this.url+'/'+data.id, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		export: {
			url: `${config.API_URL}/console/dictionary/export`,
			name: "导出数据",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		treeData: {
			url: `${config.API_URL}/console/dictionary/treeData`,
			name: "字典树结构",
			storeName: constant.entity.SysDictionary.name,
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		dataDictionaries: {
			url: `${config.API_URL}/console/dictionary/dataDictionaries`,
			name: "获取所有数据字典",
			storeName: constant.entity.SysDictionary.name,
			post: async function(params){
				return await http.post(this.url, params);
			}
		},
	},
	dept: {
		treeData: {
			url: `${config.API_URL}/console/organization/treeData`,
			name: "获取组织机构树",
			storeName: constant.entity.SysOrganization.name,
			post: async function(params){
				return await http.post(this.url, params);
			}
		},
		list: {
			url: `${config.API_URL}/console/organization/pageData`,
			name: "组织机构查询",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		listData: {
			url: `${config.API_URL}/console/organization/listData`,
			name: "组织机构查询",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		findAllChild: {
			url: `${config.API_URL}/console/organization/findAllChild`,
			name: "组织机构查询",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		findManageAllChild: {
			url: `${config.API_URL}/console/organization/findManageAllChild`,
			name: "组织机构查询",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		findOrgIdsRangeByOrgId: {
			url: `${config.API_URL}/console/organization/findOrgIdsRangeByOrgId`,
			name: "根据机构id查询组织范围内的所有部门ID",
			post: async function(data={}){
				return await http.post(this.url+'/'+data.orgId, data);
			}
		},
		add: {
			url: `${config.API_URL}/console/organization/add`,
			name: "新增组织机构",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		edit: {
			url: `${config.API_URL}/console/organization/upt`,
			name: "修改组织机构",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		del: {
			url: `${config.API_URL}/console/organization/del`,
			name: "删除组织机构",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		deleteByIds: {
			url: `${config.API_URL}/console/organization/deleteByIds`,
			name: "批量删除组织机构",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		disabled: {
			url: `${config.API_URL}/console/organization/disabled`,
			name: "停用组织机构",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		enabled: {
			url: `${config.API_URL}/console/organization/enabled`,
			name: "启用组织机构",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		findById: {
			url: `${config.API_URL}/console/organization/findById`,
			name: "根据主键查询",
			storeName: constant.entity.SysOrganization.name,
			post: async function(data){
				return await http.post(this.url+'/'+data.id, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		export: {
			url: `${config.API_URL}/console/organization/export`,
			name: "导出数据",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		dataDictionaries: {
			url: `${config.API_URL}/console/organization/dataDictionaries`,
			name: "获取所有组织机构",
			post: async function(params){
				return await http.post(this.url, params);
			}
		},
	},
	//角色管理
	role: {
		treeData: {
			url: `${config.API_URL}/console/role/treeData`,
			name: "获取角色树",
			storeName: constant.entity.SysRole.name,
			post: async function(params){
				return await http.post(this.url, params);
			}
		},
		list: {
			url: `${config.API_URL}/console/role/pageData`,
			name: "角色查询",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		add: {
			url: `${config.API_URL}/console/role/add`,
			name: "新增角色",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		edit: {
			url: `${config.API_URL}/console/role/upt`,
			name: "修改角色",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		del: {
			url: `${config.API_URL}/console/role/del`,
			name: "删除角色",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		deleteByIds: {
			url: `${config.API_URL}/console/role/deleteByIds`,
			name: "批量删除角色",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		disabled: {
			url: `${config.API_URL}/console/role/disabled`,
			name: "停用角色",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		enabled: {
			url: `${config.API_URL}/console/role/enabled`,
			name: "启用角色",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		findById: {
			url: `${config.API_URL}/console/role/findById`,
			name: "根据主键查询",
			storeName: constant.entity.SysRole.name,
			post: async function(data){
				return await http.post(this.url+'/'+data.id, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		export: {
			url: `${config.API_URL}/console/role/export`,
			name: "导出数据",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		dataDictionaries: {
			url: `${config.API_URL}/console/role/dataDictionaries`,
			name: "获取所有角色",
			post: async function(params){
				return await http.post(this.url, params);
			}
		},
	},

	//操作员维护
	operator:{
		list: {
			url: `${config.API_URL}/console/operator/pageData`,
			name: "操作员查询",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		add: {
			url: `${config.API_URL}/console/operator/add`,
			name: "新增操作员",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		edit: {
			url: `${config.API_URL}/console/operator/upt`,
			name: "修改操作员",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		updatePassword: {
			url: `${config.API_URL}/console/operator/updatePassword`,
			name: "修改操作员",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		del: {
			url: `${config.API_URL}/console/operator/del`,
			name: "删除操作员",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		deleteByIds: {
			url: `${config.API_URL}/console/operator/deleteByIds`,
			name: "批量删除操作员",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		disabled: {
			url: `${config.API_URL}/console/operator/disabled`,
			name: "停用操作员",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		enabled: {
			url: `${config.API_URL}/console/operator/enabled`,
			name: "启用操作员",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		findById: {
			url: `${config.API_URL}/console/operator/findById`,
			name: "根据主键查询",
			storeName: constant.entity.SysUser.name,
			post: async function(data){
				return await http.post(this.url+'/'+data.id, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		export: {
			url: `${config.API_URL}/console/operator/export`,
			name: "导出数据",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		dataDictionaries: {
			url: `${config.API_URL}/console/operator/dataDictionaries`,
			name: "获取所有操作员",
			post: async function(params){
				return await http.post(this.url, params);
			}
		},
		treeData: {
			url: `${config.API_URL}/console/operator/treeData`,
			name: "获取树形结构",
			storeName: constant.entity.SysUser.name,
			post: async function(params){
				return await http.post(this.url, params);
			}
		},
	},//操作员维护
	notice:{
		list: {
			url: `${config.API_URL}/console/notice/pageData`,
			name: "公告查询",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		add: {
			url: `${config.API_URL}/console/notice/add`,
			name: "新增公告",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		edit: {
			url: `${config.API_URL}/console/notice/upt`,
			name: "修改公告",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		del: {
			url: `${config.API_URL}/console/notice/del`,
			name: "删除公告",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		deleteByIds: {
			url: `${config.API_URL}/console/notice/deleteByIds`,
			name: "批量删除公告",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		disabled: {
			url: `${config.API_URL}/console/notice/disabled`,
			name: "停用公告",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		enabled: {
			url: `${config.API_URL}/console/notice/enabled`,
			name: "启用公告",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		findById: {
			url: `${config.API_URL}/console/notice/findById`,
			name: "根据主键查询",
			storeName: null,
			post: async function(data){
				return await http.post(this.url+'/'+data.id, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		export: {
			url: `${config.API_URL}/console/notice/export`,
			name: "导出数据",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
	},
	//position
	position:{
		list: {
			url: `${config.API_URL}/console/position/pageData`,
			name: "获取位置",
			storeName:"SysResource",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		treeData: {
			url: `${config.API_URL}/console/position/treeData`,
			name: "获取位置",
			storeName: constant.entity.FamsPosition.name,
			post: async function(params){
				return await http.post(this.url, params);
			}
		},
		listData: {
			url: `${config.API_URL}/console/position/listData`,
			name: "获取位置",
			storeName:"SysResource",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		add: {
			url: `${config.API_URL}/console/position/add`,
			name: "新增位置",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		edit: {
			url: `${config.API_URL}/console/position/upt`,
			name: "修改位置",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		updatePosition: {
			url: `${config.API_URL}/console/position/updatePositionAndChildren`,
			name: "修改位置及子位置",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		del: {
			url: `${config.API_URL}/console/position/del`,
			name: "删除位置",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		deleteByIds: {
			url: `${config.API_URL}/console/position/deleteByIds`,
			name: "批量删除位置",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		disabled: {
			url: `${config.API_URL}/console/position/disabled`,
			name: "停用位置",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		enabled: {
			url: `${config.API_URL}/console/position/enabled`,
			name: "启用位置",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		findOne: {
			url: `${config.API_URL}/console/position/findOne`,
			name: "根据条件查询一条数据",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		findById: {
			url: `${config.API_URL}/console/position/findById`,
			name: "根据主键查询",
			storeName: constant.entity.FamsPosition.name,
			post: async function(data){
				return await http.post(this.url+'/'+data.id, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		export: {
			url: `${config.API_URL}/console/position/export`,
			name: "导出数据",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		dataDictionaries: {
			url: `${config.API_URL}/console/position/dataDictionaries`,
			name: "获取所有数据字典",
			post: async function(params){
				return await http.post(this.url, params);
			}
		},
	},
	provider: {
		list: {
			url: `${config.API_URL}/console/provider/pageData`,
			name: "获取供应商",
			storeName:"SysResource",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		treeData: {
			url: `${config.API_URL}/console/provider/treeData`,
			name: "获取供应商",
			storeName: constant.entity.FamsProvider.name,
			post: async function(params){
				return await http.post(this.url, params);
			}
		},
		add: {
			url: `${config.API_URL}/console/provider/add`,
			name: "新增供应商",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		edit: {
			url: `${config.API_URL}/console/provider/upt`,
			name: "修改供应商",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		del: {
			url: `${config.API_URL}/console/provider/del`,
			name: "删除供应商",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		deleteByIds: {
			url: `${config.API_URL}/console/provider/deleteByIds`,
			name: "批量删除供应商",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		disabled: {
			url: `${config.API_URL}/console/provider/disabled`,
			name: "停用供应商",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		enabled: {
			url: `${config.API_URL}/console/provider/enabled`,
			name: "启用供应商",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		findById: {
			url: `${config.API_URL}/console/provider/findById`,
			name: "根据主键查询",
			storeName: constant.entity.FamsProvider.name,
			post: async function(data){
				return await http.post(this.url+'/'+data.id, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		export: {
			url: `${config.API_URL}/console/provider/export`,
			name: "导出数据",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		dataDictionaries: {
			url: `${config.API_URL}/console/provider/dataDictionaries`,
			name: "获取所有数据字典",
			post: async function(params){
				return await http.post(this.url, params);
			}
		},
	},
	costcenter:{
		list: {
			url: `${config.API_URL}/console/cost-center/pageData`,
			name: "获取成本中心",
			storeName:"SysResource",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		treeData: {
			url: `${config.API_URL}/console/cost-center/treeData`,
			name: "获取成本中心",
			storeName: constant.entity.FamsCostCenter.name,
			post: async function(params){
				return await http.post(this.url, params);
			}
		},
		add: {
			url: `${config.API_URL}/console/cost-center/add`,
			name: "新增成本中心",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		edit: {
			url: `${config.API_URL}/console/cost-center/upt`,
			name: "修改成本中心",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		del: {
			url: `${config.API_URL}/console/cost-center/del`,
			name: "删除成本中心",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		deleteByIds: {
			url: `${config.API_URL}/console/cost-center/deleteByIds`,
			name: "批量删除成本中心",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		disabled: {
			url: `${config.API_URL}/console/cost-center/disabled`,
			name: "停用成本中心",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		enabled: {
			url: `${config.API_URL}/console/cost-center/enabled`,
			name: "启用成本中心",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		findById: {
			url: `${config.API_URL}/console/cost-center/findById`,
			name: "根据主键查询",
			storeName: constant.entity.FamsCostCenter.name,
			post: async function(data){
				return await http.post(this.url+'/'+data.id, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		export: {
			url: `${config.API_URL}/console/cost-center/export`,
			name: "导出数据",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		dataDictionaries: {
			url: `${config.API_URL}/console/cost-center/dataDictionaries`,
			name: "获取所有数据字典",
			post: async function(params){
				return await http.post(this.url, params);
			}
		},
	},
	currency:{
		list: {
			url: `${config.API_URL}/console/currency/pageData`,
			name: "获取货币信息",
			storeName:"SysResource",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		treeData: {
			url: `${config.API_URL}/console/currency/treeData`,
			name: "获取货币信息",
			storeName: constant.entity.FamsCurrency.name,
			post: async function(params){
				return await http.post(this.url, params);
			}
		},
		add: {
			url: `${config.API_URL}/console/currency/add`,
			name: "新增货币信息",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		edit: {
			url: `${config.API_URL}/console/currency/upt`,
			name: "修改货币信息",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		del: {
			url: `${config.API_URL}/console/currency/del`,
			name: "删除货币信息",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		deleteByIds: {
			url: `${config.API_URL}/console/currency/deleteByIds`,
			name: "批量删除货币信息",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		disabled: {
			url: `${config.API_URL}/console/currency/disabled`,
			name: "停用货币信息",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		enabled: {
			url: `${config.API_URL}/console/currency/enabled`,
			name: "启用货币信息",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		findById: {
			url: `${config.API_URL}/console/currency/findById`,
			name: "根据主键查询",
			storeName: constant.entity.FamsCurrency.name,
			post: async function(data){
				return await http.post(this.url+'/'+data.id, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		export: {
			url: `${config.API_URL}/console/currency/export`,
			name: "导出数据",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		dataDictionaries: {
			url: `${config.API_URL}/console/currency/dataDictionaries`,
			name: "获取所有数据字典",
			post: async function(params){
				return await http.post(this.url, params);
			}
		},
	},


	oprlog:{
		list: {
			url: `${config.API_URL}/console/opr-log/pageData`,
			name: "获取操作日志",
			storeName:"SysResource",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		add: {
			url: `${config.API_URL}/console/opr-log/add`,
			name: "新增操作日志",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		edit: {
			url: `${config.API_URL}/console/opr-log/upt`,
			name: "修改操作日志",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		del: {
			url: `${config.API_URL}/console/opr-log/del`,
			name: "删除操作日志",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		deleteByIds: {
			url: `${config.API_URL}/console/opr-log/deleteByIds`,
			name: "批量删除操作日志",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		findById: {
			url: `${config.API_URL}/console/opr-log/findById`,
			name: "根据主键查询",
			storeName: null,
			post: async function(data){
				return await http.post(this.url+'/'+data.id, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		export: {
			url: `${config.API_URL}/console/opr-log/export`,
			name: "导出数据",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
	},
	interfaceTask:{
		list: {
			url: `${config.API_URL}/console/sys-interface-task/pageData`,
			name: "获取接口任务",
			storeName:"SysResource",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		add: {
			url: `${config.API_URL}/console/sys-interface-task/add`,
			name: "新增接口任务",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		edit: {
			url: `${config.API_URL}/console/sys-interface-task/upt`,
			name: "修改接口任务",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		del: {
			url: `${config.API_URL}/console/sys-interface-task/del`,
			name: "删除接口任务",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		deleteByIds: {
			url: `${config.API_URL}/console/sys-interface-task/deleteByIds`,
			name: "批量删除接口任务",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		findById: {
			url: `${config.API_URL}/console/sys-interface-task/findById`,
			name: "根据主键查询",
			storeName: null,
			post: async function(data){
				return await http.post(this.url+'/'+data.id, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		export: {
			url: `${config.API_URL}/console/sys-interface-task/export`,
			name: "导出数据",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
	},
	interfaceTaskLog:{
		list: {
			url: `${config.API_URL}/console/sys-interface-run-log/pageData`,
			name: "获取接口任务",
			storeName:"SysResource",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		add: {
			url: `${config.API_URL}/console/sys-interface-run-log/add`,
			name: "新增接口任务",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		edit: {
			url: `${config.API_URL}/console/sys-interface-run-log/upt`,
			name: "修改接口任务",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		del: {
			url: `${config.API_URL}/console/sys-interface-run-log/del`,
			name: "删除接口任务",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		deleteByIds: {
			url: `${config.API_URL}/console/sys-interface-run-log/deleteByIds`,
			name: "批量删除接口任务",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		findById: {
			url: `${config.API_URL}/console/sys-interface-run-log/findById`,
			name: "根据主键查询",
			storeName: null,
			post: async function(data){
				return await http.post(this.url+'/'+data.id, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		export: {
			url: `${config.API_URL}/console/sys-interface-run-log/export`,
			name: "导出数据",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
	},
	depreciationLog:{
		list: {
			url: `${config.API_URL}/console/depreciationLog/pageData`,
			name: "获取折旧日志",
			storeName:"SysResource",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		add: {
			url: `${config.API_URL}/console/depreciationLog/add`,
			name: "新增折旧日志",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		edit: {
			url: `${config.API_URL}/console/depreciationLog/upt`,
			name: "修改折旧日志",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		del: {
			url: `${config.API_URL}/console/depreciationLog/del`,
			name: "删除折旧日志",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		deleteByIds: {
			url: `${config.API_URL}/console/depreciationLog/deleteByIds`,
			name: "批量删除折旧日志",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		findById: {
			url: `${config.API_URL}/console/depreciationLog/findById`,
			name: "根据主键查询",
			storeName: null,
			post: async function(data){
				return await http.post(this.url+'/'+data.id, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		export: {
			url: `${config.API_URL}/console/depreciationLog/export`,
			name: "导出数据",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
	},
	export:{
		list: {
			url: `${config.API_URL}/console/export-center/pageData`,
			name: "获取操作日志",
			storeName:"SysResource",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		add: {
			url: `${config.API_URL}/console/export-center/add`,
			name: "新增操作日志",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		edit: {
			url: `${config.API_URL}/console/export-center/upt`,
			name: "修改操作日志",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		del: {
			url: `${config.API_URL}/console/export-center/del`,
			name: "删除操作日志",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		deleteByIds: {
			url: `${config.API_URL}/console/export-center/deleteByIds`,
			name: "批量删除操作日志",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		findById: {
			url: `${config.API_URL}/console/export-center/findById`,
			name: "根据主键查询",
			storeName: null,
			post: async function(data){
				return await http.post(this.url+'/'+data.id, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		export: {
			url: `${config.API_URL}/console/export-center/export`,
			name: "导出数据",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
	},
	help:{
		list: {
			url: `${config.API_URL}/console/help-center/pageData`,
			name: "获取操作日志",
			storeName: constant.entity.SysHelpCenter.name,
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		add: {
			url: `${config.API_URL}/console/help-center/add`,
			name: "新增操作日志",
			storeName: constant.entity.SysHelpCenter.name,
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		treeData: {
			url: `${config.API_URL}/console/help-center/treeData`,
			name: "获取公告",
			storeName: constant.entity.SysHelpCenter.name,
			post: async function(params){
				return await http.post(this.url, params);
			}
		},
		edit: {
			url: `${config.API_URL}/console/help-center/upt`,
			name: "修改操作日志",
			storeName: constant.entity.SysHelpCenter.name,
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		del: {
			url: `${config.API_URL}/console/help-center/del`,
			name: "删除操作日志",
			storeName: constant.entity.SysHelpCenter.name,
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		deleteByIds: {
			url: `${config.API_URL}/console/help-center/deleteByIds`,
			name: "批量删除操作日志",
			storeName: constant.entity.SysHelpCenter.name,
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		findById: {
			url: `${config.API_URL}/console/help-center/findById`,
			name: "根据主键查询",
			storeName: constant.entity.SysHelpCenter.name,
			post: async function(data){
				return await http.post(this.url+'/'+data.id, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		export: {
			url: `${config.API_URL}/console/help-center/export`,
			name: "导出数据",
			storeName: constant.entity.SysHelpCenter.name,
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		dataDictionaries: {
			url: `${config.API_URL}/console/help-center/dataDictionaries`,
			name: "获取所有数据字典",
			post: async function(params){
				return await http.post(this.url, params);
			}
		},
	},
	message:{
		myPageData: {
			url: `${config.API_URL}/console/message/myPageData`,
			name: "获取操作日志",
			storeName:"SysResource",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		myMessageCount: {
			url: `${config.API_URL}/console/message/myMessageCount`,
			name: "获取操作日志",
			storeName:"SysResource",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		markMessage: {
			url: `${config.API_URL}/console/message/markMessage`,
			name: "标记消息",
			storeName:"SysResource",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		list: {
			url: `${config.API_URL}/console/message/pageData`,
			name: "获取操作日志",
			storeName:"SysResource",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		add: {
			url: `${config.API_URL}/console/message/add`,
			name: "新增操作日志",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		edit: {
			url: `${config.API_URL}/console/message/upt`,
			name: "修改操作日志",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		del: {
			url: `${config.API_URL}/console/message/del`,
			name: "删除操作日志",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		deleteByIds: {
			url: `${config.API_URL}/console/message/deleteByIds`,
			name: "批量删除操作日志",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		removeByIds: {
			url: `${config.API_URL}/console/message/removeByIds`,
			name: "批量移除消息",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		findById: {
			url: `${config.API_URL}/console/message/findById`,
			name: "根据主键查询",
			storeName: null,
			post: async function(data){
				return await http.post(this.url+'/'+data.id, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		export: {
			url: `${config.API_URL}/console/message/export`,
			name: "导出数据",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
	},
	messageset:{
		list: {
			url: `${config.API_URL}/console/message-setting/pageData`,
			name: "获取操作日志",
			storeName:"SysResource",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		add: {
			url: `${config.API_URL}/console/message-setting/add`,
			name: "新增操作日志",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		edit: {
			url: `${config.API_URL}/console/message-setting/upt`,
			name: "修改操作日志",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		del: {
			url: `${config.API_URL}/console/message-setting/del`,
			name: "删除操作日志",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		deleteByIds: {
			url: `${config.API_URL}/console/message-setting/deleteByIds`,
			name: "批量删除消息设置",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		disabled: {
			url: `${config.API_URL}/console/message-setting/disabled`,
			name: "停用消息设置",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		enabled: {
			url: `${config.API_URL}/console/message-setting/enabled`,
			name: "启用消息设置",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		findById: {
			url: `${config.API_URL}/console/message-setting/findById`,
			name: "根据主键查询",
			storeName: constant.entity.SysMessageSetting.name,
			post: async function(data){
				return await http.post(this.url+'/'+data.id, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		export: {
			url: `${config.API_URL}/console/message-setting/export`,
			name: "导出数据",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
	},
	budget:{
		list: {
			url: `${config.API_URL}/console/budget/pageData`,
			name: "获取预算",
			storeName:"SysResource",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		add: {
			url: `${config.API_URL}/console/budget/add`,
			name: "新增预算",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		edit: {
			url: `${config.API_URL}/console/budget/upt`,
			name: "修改预算",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		del: {
			url: `${config.API_URL}/console/budget/del`,
			name: "删除预算",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		deleteByIds: {
			url: `${config.API_URL}/console/budget/deleteByIds`,
			name: "批量删除预算",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		disabled: {
			url: `${config.API_URL}/console/budget/disabled`,
			name: "停用预算",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		enabled: {
			url: `${config.API_URL}/console/budget/enabled`,
			name: "启用预算",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		findById: {
			url: `${config.API_URL}/console/budget/findById`,
			name: "根据主键查询",
			storeName: constant.entity.FamsBudget.name,
			post: async function(data){
				return await http.post(this.url+'/'+data.id, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		export: {
			url: `${config.API_URL}/console/budget/export`,
			name: "导出数据",
			post: async function(data){
				return await http.post(this.url, data);
			}
		},
		budgetSummary: {
			url: `${config.API_URL}/console/budget/getBudgetSummaryVoListByQueryDto`,
			name: "预算统计",
			post: async function(data){
				return await http.post(this.url, data);
			}
		},
		dataDictionaries: {
			url: `${config.API_URL}/console/budget/dataDictionaries`,
			name: "获取所有数据字典",
			post: async function (params) {
				return await http.post(this.url, params);
			}
		},
	},
	pending:{
		list: {
			url: `${config.API_URL}/console/pending/pageData`,
			name: "获取待办事项",
			storeName:"SysResource",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		pagePendingList: {
			url: `${config.API_URL}/console/pending/pagePendingList`,
			name: "获取待办事项",
			storeName:"SysResource",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		statusStatistics: {
			url: `${config.API_URL}/console/pending/statusStatistics`,
			name: "按状态统计数量",
			storeName:"SysResource",
			post: async function(data={}){
				return await http.post(this.url, data);
			}
		},
		add: {
			url: `${config.API_URL}/console/pending/add`,
			name: "新增待办事项",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		edit: {
			url: `${config.API_URL}/console/pending/upt`,
			name: "修改待办事项",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		del: {
			url: `${config.API_URL}/console/pending/del`,
			name: "删除待办事项",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		deleteByIds: {
			url: `${config.API_URL}/console/pending/deleteByIds`,
			name: "批量待办事项",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		findById: {
			url: `${config.API_URL}/console/pending/findById`,
			name: "根据主键查询",
			storeName: null,
			post: async function(data){
				return await http.post(this.url+'/'+data.id, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		export: {
			url: `${config.API_URL}/console/pending/export`,
			name: "导出数据",
			post: async function(data){
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
	},
	log: {
		list: {
			url: `${config.API_URL}/system/log/list`,
			name: "日志列表",
			get: async function(params){
				return await http.get(this.url, params);
			}
		}
	},
	table: {
		list: {
			url: `${config.API_URL}/system/table/list`,
			name: "表格列管理列表",
			get: async function(params){
				return await http.get(this.url, params);
			}
		},
		info: {
			url: `${config.API_URL}/system/table/info`,
			name: "表格列管理详情",
			get: async function(params){
				return await http.get(this.url, params);
			}
		}
	},
	tasks: {
		list: {
			url: `${config.API_URL}/system/tasks/list`,
			name: "系统任务管理",
			get: async function(params){
				return await http.get(this.url, params);
			}
		}
	},
	//临时休假
	tempLeave: {
		page: {
			url: `${config.API_URL}/console/tempLeave/customPageQueryWithWrapper`,
			name: "分页获取查询结果",
			storeName: constant.entity.SysReplaceJob.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		queryOwn: {
			url: `${config.API_URL}/console/tempLeave/queryOwnReplaceJob`,
			name: "查询自己代岗的信息",
			storeName: constant.entity.SysReplaceJob.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		add: {
			url: `${config.API_URL}/console/tempLeave/add`,
			name: "新增",
			storeName: constant.entity.SysReplaceJob.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		rest: {
			url: `${config.API_URL}/console/tempLeave/rest`,
			name: "重置",
			storeName: constant.entity.SysReplaceJob.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		edit: {
			url: `${config.API_URL}/console/tempLeave/upt`,
			name: "修改",
			storeName: constant.entity.SysReplaceJob.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		del: {
			url: `${config.API_URL}/console/tempLeave/del`,
			name: "删除",
			storeName: constant.entity.SysReplaceJob.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		deleteByIds: {
			url: `${config.API_URL}/console/tempLeave/deleteByIds`,
			name: "批量删除",
			storeName: constant.entity.SysReplaceJob.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		findById: {
			url: `${config.API_URL}/console/tempLeave/findById`,
			name: "根据主键查询",
			storeName: constant.entity.SysReplaceJob.name,
			post: async function (data = {}) {
				return await http.post(this.url + '/' + data.id, data);
			},
		},
		export: {
			url: `${config.API_URL}/console/tempLeave/export`,
			name: "导出数据",
			storeName: constant.entity.SysReplaceJob.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
	},
}
